const  PRODUCT_URL = 'http://wxapp.fitbarfitbar.com/apis'; // 生产
const DEVELOPMENT_URL = 'http://192.168.1.115:8083'; // 开发
const TEST_URL = 'http://wxapp.fitbarfitbar.com/forTest'; // 测试
module.exports = {
  // publicPath: './',
  devServer : {
    // disableHostCheck: true,
    proxy: DEVELOPMENT_URL,
  },

  chainWebpack: config => {
    const oneOfsMap = config.module.rule('scss').oneOfs.store
    oneOfsMap.forEach(item => {
      item
        .use('sass-resources-loader')
        .loader('sass-resources-loader')
        .options({
          resources: './src/assets/style/common.scss'
        })
        .end()
    })
  }
}
